Part Number Hot Search : 
M1104 AC10EGML AD804206 M1104 E003586 MP351 MRA34P ST70136B
Product Description
Full Text Search
 

To Download ATSAM9708 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Features
* Up to 128-voice Top-quality Wavetable Synthesis Chip
- Two 64-voice RISC DSP Cores - Two High-speed CISC Control Processors - Versatile Programmable Digital Audio Routing Between the Two DSPs Voices Can Be Allocated for Synthesis and/or Effects and/or Audio Processing Maximum Single-shot PCM Wavesize of 4M Samples (93 Seconds @ 44.1 kHz) Samples Can Be Stored in 16-bit Floating Point Format (20-bit Dynamic), 16-bit Linear, 8-bit Linear Standard Audio Processing Firmware Includes Equalizer, Surround, MPEG Audio Decoder (Level 2) Sophisticated Built-in Cache Memories - Allows Use of Standard 90 ns 16-bit ROMs/RAMs - Guarantees Crisp Response Even Under Heavy Traffic Conditions GS(R) Sound Set(1) under License from Roland(R) Corporation, Other Sound Sets Available 16-channel Audio-in, 16-channel Audio-out @ 22 Bits Audio/Channel 28-bit Internal Audio Path Two Serial MIDI-In, Two Serial MIDI-Out Firmware/Wavetable Data Can Reside in ROM, DRAM, SDRAM Up to 256M Bytes of External Memory with Support of SIMM (DRAM) and DIMM (SDRAM) High-speed 16-bit Burst Transfer for Firmware Download or Streaming Audio Compatible with ATSAM9707, Uses Proven Design and Development Tools - Sound Editor, Sound Bank Editor - Algorithm Compiler, Assembler, Source Debugger - Direct Development from PC Environment, No Special Emulator Required Top Technology - Single Low-frequency Crystal and Built-in PLL - 3.3V Supply, 5V-tolerant I/Os - Space-saving 144-lead TQFP Package - Power-down Mode Typical Applications: Karaokes, High-range Multimedia, Classical Organs, Digital Pianos, Professional Keyboards, Musical Samplers 1. The GS Sound Set is subject to special licensing conditions. Not to be used for musical instruments.
* * * * * * * * * * * * *
Sound Synthesis ATSAM9708 128-voice Integrated Sound Synthesizer
*
*
Note:
Description
The ATSAM9708 is a 128-voice integrated synthesizer, integrating two PDSP blocks and a memory management unit (MMU). One PDSP block is a combination of a specialized 64-slot RISC-based digital signal processor (DSP), a general-purpose 16-bit CISC-based control processor (P16), a cache memory and an "intelligent" peripheral I/O interface. Both PDSPs are fully independent and share the same external memory through the MMU.
1772D-DRMSD-01/04
Block Diagrams
Figure 1. ATSAM9708 Block Diagram
16-bit Bus
PDSP 1
MIDI and Audio
MMU
Memory
PDSP 2
Figure 2. PDSP Block Diagram
I/O Functions 16-bit Bus MIDI
Control/Status MIDI UART Timers Host I/F
P16 Processor
16-bit CISC Processor Core Includes 256 x 16 Data RAM 256 x 16 Boot ROM
MMU
Synthesis/DSP
RISC DSP Core Includes 512 x 38 Alg RAM 128 x 28 MA1 RAM 256 x 32 MA2 RAM 256 x 32 MB RAM 128 x 16 MX RAM 256 x 16 MY RAM 64 x 13 ML RAM
Audio
Cache Memory 128 x 16
2
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Pin Description by Function
Table 1. Power Group
Name GND VC3 VCC1 VCC2 Pin Count 19 8 5 5 Type PWR PWR PWR PWR Function Power Ground. All GND pins should be returned to digital ground. Core Power, +3.3V nominal (3V to 4.5V). All VC3 pins should be returned to +3.3V. Pad (except Memory Pad) Power, +3.0V to +5.5V. All VCC pins should be returned to +5V (or 3.3V in case of single 3.3V supply). Memory Pad Power, +3.0V to +5.5V. All VCC pins should be returned to +5V (for RAM or DRAM) or 3.3V (for SDRAM or 3.3V ROM).
Table 2. ISA Bus Group(1)
Name PC_D[15:0]
(2, 3)
Pin Count 16
Type I/O
Function 16-bit data bus to host processor. Information on these pins is: - 2 x parallel MIDI (MPU-401 type applications) - 2 x high-speed burst data transfers to/from external memory Selects one of 8 internal registers: 0, 1: MPU-401 register processor #1 2, 3: Burst data (16-bit) processor #1 4 - 5: MPU-401 register processor #2 6 - 7: Burst data (16-bit) processor #2 Chip select from host, active low. Write from host, active low. Read from host, active low. Open drain output buffer. Driven low during 16-bit burst mode transfers to synchronize host to the ATSAM9708 memory. Open drain output buffer; driven low during 16-bit burst mode transfers. Indicates to host that a 16-bit I/O is in progress. Tri-state output pin, active high. Can be connected directly to host PC_IRQ line.
PC_A[2:0]
3
IN
PC_CS(4) PC_WR PC_RD PC_READY PC_IO16 PC_IRQ Notes:
1 1 1 1 1 1
IN IN IN TSout TSout TSout
1. ISA bus group pins are powered by VCC1 power rail. 2. PC_D pads have 4 mA drive capabilities; other output pads have 16 mA drive capabilities. 3. To interface with PC ISA bus, VCC1 should be connected to 5V power and PC_D bus should be buffered. Direction is given by PC_RD signal. 4. Pin Names in this document exhibiting an overbar (PC_CS for example) indicates that the signal is active low.
3
1772D-DRMSD-01/04
Table 3. MIDI and Audio Group(1)
Name MIDI1_IN MIDI2_IN MIDI1_OUT MIDI2_OUT OVCK_OUT BCK_OUT WS_OUT SD_OUT[7:0] SD_IN[7:0] Pin Count 1 1 1 1 1 1 1 8 8 Type IN I/O OUT OUT OUT OUT OUT OUT I/O Function Main MIDI input. Routed to PDSP#1, can also be routed to PDSP#2. Auxiliary MIDI input. Routed to PDSP#2(2) Main MIDI output. Outputs from PDSP#1. Auxiliary MIDI output. Outputs from PDSP#2(2) Buffered X2 output. Typically used to drive external sigma/delta DAC/ADC at fS x 256. Audio data bit clock. Provides timing to SD_OUT. Audio data word select. WS_OUT timing can be selected to be I2S- or Japanese-compatible. 8 stereo serial audio data output (16 audio channels). Each output holds 64 bits (2 x 32) of serial data per frame. Audio data has 22-bit precision(2). 8 stereo serial audio data input (16 audio channels). Each input holds 64 bits (2 x 32) of serial data per frame. Audio data in is received with 20-bit precision(2).
Notes:
1. MIDI and Audio group pins are powered by VCC1 power rail. 2. These pins have alternate functions as GPIO pins (general-purpose input/output pins). See "General-purpose Input/Output Routing" on page 24 for more details.
Table 4. Memory Group(1)
Name CK_OUT WA[26:0] Pin Count 1 27 Type OUT OUT Function Master clock for SDRAM operation. Frequency is 4 times the X1 frequency (typ 45.1584 MHz). External memory address (ROM/SRAM/DRAM/SDRAM), up to 128M words (256M bytes). DRAM/SDRAM addresses are time-multiplexed on these pins as follows: WA0 - WA8: DRA0 - DRA8 WA18: DRA9 WA20: DRA10 WA22: DRA11 SRAM byte select. Should be connected to the lower RAM address when 8-bit wide SRAM is used. The type of RAM (16-bit/8-bit) can be selected by program. PCM ROM/SRAM/DRAM/SDRAM data PCM ROM chip select, active low SRAM chip select, active low SRAM/DRAM/SDRAM write enable, active low. Timing compatible with SIMM DRAM early write feature. PCM ROM/SRAM output enable, active low
RBS
1
OUT
WD[15:0] WCS0 WCS1 WWE WOE
16 1 1 1 1
I/O OUT OUT OUT OUT
4
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Table 4. Memory Group(1) (Continued)
Name RAS Pin Count 1 Type I/O Function DRAM/SDRAM row address strobe. At the end of reset RAS is tested to determine memory type configuration (pulled high to select SDRAM type). RAS should be pulled to VCC or GND through an external 10K resistor. DRAM/SDRAM column address strobe. At the end of reset CAS is tested to determine memory type configuration (pulled high to select DRAM type). CAS should be pulled to VCC or GND through an external 10K resistor. Indicates that a DRAM/SDRAM memory refresh cycle is in progress. To be used with multiple SIMM/DIMM modules to force refresh simultaneously on all modules. At the end of reset REFRESH is tested to select bootstrap state (pulled high to start built-in CPU bootstrap in case of ROMless applications).
CAS
1
I/O
REFRESH
1
I/O
Note:
1. Memory group pins are powered by VCC2 power rail.
Table 5. Miscellaneous Group
Name LFT TEST LDTEST PDWN RESET X1, X2(1) Pin Count 1 1 1 1 1 2 Type ANA IN IN IN IN - Function PLL low pass filter. Should be connected to an external RC network. Test pin. Should be returned to GND. Test pin. Should be returned to GND. Power down, active low Master reset input, active low. Schmidt trigger input. Crystal connection. Crystal frequency should be fS x 256 (typ 11.2896 MHz). Crystal frequency is internally multiplied by 4 to provide the IC master clock. X1 can also be used as external clock input (3.3V input).
Note:
1. X2 cannot be used to drive external circuitry.
5
1772D-DRMSD-01/04
Pinout by Pin Number
Table 6. Pinout by Pin Number
Pin Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Name PC_D[10] PC_D[9] PC_D[8] PC_IO16 VCC1 GND PC_READY VC3 GND PC_RD PC_WR PC_A[0] PC_A[1] PC_IRQ PC_A[2] PC_CS VC3 GND PC_D[0] VCC1 GND PC_D[1] PC_D[2] PC_D[3] PC_D[4] PC_D[5] PC_D[6] PC_D[7] MIDI1_IN MIDI2_IN MIDI1_OUT MIDI2_OUT SD_IN[0] SD_IN[1] VCC1 GND Pin Number 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 Name SD_IN[2] SD_IN[3] SD_OUT[0] SD_OUT[1] VC3 GND SD_OUT[2] SD_OUT[3] WS_OUT BCK_OUT OVCK_OUT SD_IN[4] SD_IN[5] SD_IN[6] GND VCC1 SD_IN[7] SD_OUT[4] SD_OUT[5] SD_OUT[6] SD_OUT[7] VC3 GND LFT X1 X2 VC3 GND WD[15] WD[14] WD[13] WD[12] VCC2 GND WD[11] WD[10] Pin Number 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 Name WD[9] WD[8] WD[7] WD[6] WD[5] WD[4] WD[3] VC3 VCC2 GND GND WD[2] WD[1] WD[0] WWE WOE WCS0 WCS1 CK_OUT RBS WA[0] WA[1] WA[2] WA[3] VCC2 GND VC3 GND WA[4] WA[5] RAS CAS REFRESH WA[6] WA[7] WA[8] Pin Number 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 Name VCC2 GND WA[9] VC3 GND WA[10] WA[11] WA[12] WA[13] WA[14] WA[15] WA[16] WA[17] WA[18] WA[19] VCC2 GND WA[20] WA[21] WA[22] WA[23] WA[24] WA[25] WA[26] GND RESET TEST LDTEST PDWN PC_D[15] PC_D[14] PC_D[13] PC_D[12] VCC1 GND PC_D[11]
6
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Absolute Maximum Ratings
Table 7. Absolute Maximum Ratings
Ambient Temperature (Power Applied)...............-40C to + 85C Storage Temperature........................................-65C to + 150C Voltage on any pin (except X1)......................-0.5V to VCC + 0.5V Voltage on X1 pin ..........................................-0.5V to VC3 + 0.5V VCC Supply Voltage...............................................-0.5V to + 6.5V VC3 Supply Voltage................................................-0.5V t0 +4.5V Maximum IOL per I/O pin....................................................4.4mA (except PC_IRQ, PC_READY) Maximum IOL PC_IRQ, PC_READY...............................16.16mA Note: All voltages with respect to 0V, GND = 0V *NOTICE: Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating condtions for extended periods may affect device reliability.
Recommended Operating Conditions
Table 8. Recommended Operating Conditions
Symbol VCC VC3 tA Note: Parameter Supply voltage Supply voltage Operating ambient temperature
(1)
Min 3 3 0
Typ 3.3/5.0 3.3
Max 5.5 4.5 70
Unit V V C
1. When using 3.3V supply, care must be taken that voltage applied on pin does not exceed VCC + 0.5V.
DC Characteristics
Table 9. DC Characteristics (tA = 25C, VC3 = 3.3V 10%)
Symbol VIL VIH VOL Parameter Low-level input voltage High-level input voltage Low-level output voltage PC_D[15:0], PC_IRQ, PC_READY: IOL = -24 mA Others except LFT: IOL = -3.2 mA VCC 3.3 5.0 3.3 5.0 3.3 5.0 Min -0.5 -0.5 2.3 3.3 0 3 Typ Max 1.0 1.7 3.8 5.5 0.45 0.45 Unit V V V
7
1772D-DRMSD-01/04
Table 9. DC Characteristics (tA = 25C, VC3 = 3.3V 10%) (Continued)
Symbol VOL Parameter High-level output voltage PC_D[15:0], PC_IRQ, PC_READY: IOH = 10 mA Others except LFT: IOH = 0.8 mA Power supply current (crystal frequency = 12 MHz) Power down supply current VCC 3.3 5.0 Min 2.8 4.5 Typ Max Unit V
ICC
3.3 5.0
100 25 TBD
140 35 TBD
mA A
8
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
DSP RISC Signal Processor
Each of the two DSP engines operates on a frame-timing basis with the frame subdivided into 64 process slots. Each process is itself divided into 16 micro-instructions known as "algorithms". Up to 32 different DSP algorithms can be stored on-chip in each DSP private Alg RAM memory, allowing the device to be programmed for a number of audio signal generation/processing applications. Each DSP engine is capable of generating 64 simultaneous voices using algorithms such as wavetable synthesis with interpolation, alternate loop and 24 dB resonant filtering for each voice, for a total polyphony of 128 voices. Slots may be linked together (ML RAM) to allow implementation of more complex synthesis algorithms. Each DSP also includes a 20 x 16 pipelined two's complement multiplier, a 28-bit pipelined adder and eight 24-bit final accumulators. A typical application uses around 75% of the capacity of the DSP engines for synthesis, thus providing a minimum of 96-voice wavetable polyphony. The remaining processing power is used for typical function like reverberation, chorus, direct sound, surround effect, equalizer, etc. Frequently-accessed DSP parameter data are stored in 5 banks of on-chip RAM memory for each DSP. Sample data or delay lines, which are accessed relatively infrequently, are stored in external ROM, SRAM, DRAM or SDRAM memory. The combination of localized micro-program memory and localized parameter data allows microinstructions to execute in 20 ns (50 MIPS) on each DSP. Separate buses from each of the on-chip parameter RAM memory banks allow highly parallel data movement to increase the effectiveness of each micro-instruction. With this architecture, a single micro-instruction can accomplish up to 6 simultaneous operations (add, multiply, load, store, etc.), providing a total potential throughput of 600 million operations per second (MOPS).
P16 Control Processor and I/O Functions
Each of the two P16 control processors is a general-purpose 16-bit CISC processor core, that runs from external memory. A boot/macro ROM is included on-chip to accelerate commonly executed routines and to allow the use of RAM only devices for the external memory. Each P16 also includes 256 words of local RAM data memory. Each P16 control processor writes to the parameter RAM blocks within its associated DSP in order to control the synthesis process. In a typical application, the P16 control processor parses and interprets incoming commands from the MIDI UART or from the parallel 16-bit interface and then controls the DSP by writing into the parameter RAM banks of its associated DSP core. Slowly-changing synthesis functions, such as LFOs, are implemented in the P16 control processor by periodically updating the DSP parameter RAM variables. Each P16 control processor interfaces with other private peripheral devices, such as the system control and status registers, the on-chip MIDI UART, the on-chip timers and the ISA PC 16-bit interface through specialized "intelligent" peripheral I/O logic. This I/O logic automates many of the system I/O transfers to minimize the amount of overhead processing required from the P16. The parallel interface is implemented using three address lines (A2, A1, A0), a chip select signal, read and write strobes from the host and a 16-bit data bus (PC_D0 PC_D15). This data bus cannot drive the PC bus directly. External buffers and an external decoder (PAL) or plug and play IC are required to map the 16-bit I/O addresses and AEN from the PC into the three address lines and chip select from the ATSAM9708.
9
1772D-DRMSD-01/04
The PDSP#1 responds on addresses 0 to 3 (A2A1A0 = 0XX), while PDSP#2 responds on addresses 4 to 7 (A2A1A0 = 1XX). Each PDSP parallel interface supports a byte-wide I/O interface and a 16-bit port dedicated to burst transfers. The byte-wide I/O interface is normally used to implement a MPU-401 UART-mode compatible interface. It is specified by address A1A0 = 0X, address 00 being the data register, address 01 being the status/control registers. Besides the standard two status bits of the MPU-401, two additional bits are provided to expand the MPU-401 protocol. Address A1A0 = 10 specifies a 16-bit I/O port. It is mainly used for burst audio transfers to/from the PC using very efficient PC instructions like REP OUTSW or REP INSW which operate at maximum ISA bus bandwidth. This port may also be used for fast program or sound bank uploads.
DSP Cache RAM
The memory management unit (MMU) allows external ROM and/or RAM memory resources to be shared between the two DSPs and the two P16 control processors. This allows a single device (i.e., DRAM) to serve as sample memory storage/delay lines for the DSPs and as program storage/data memory for the P16 control processors. The DSP cache RAM allows a dramatic reduction in the traffic with the external ROM/RAM, allowing use of standard 90 ns ROM parts with sampling frequencies up to 48 kHz. Average access request rate to external memory is only one for every two frames for each slot, which gives 64 accesses per synthesis frame. The MMU can provide up to 169 memory accesses per frame, which leaves over 100 accesses free per frame to be used by the P16 processors. This means that under full 128-voice polyphony traffic conditions, each P16 instruction average execution time is around 400 ns at 48 kHz sampling frequency. 128-voice polyphony can be assured only when all samples are played at nominal frequency or down-transposed. Simultaneously playing a large number of up-transposed samples can adversely affect polyphony. For more details of possible polyphony for a given application, please refer to the application note "ATSAM9708 Memory Management Unit".
10
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Timing Diagrams
All timing conditions: VCC = 5V, VC3 = 3.3V, tA = 25C; signals PC_READY, I/O CS16, D0 - D15 with 220 ohms pull-up, 30 pF capacitance; signal PC_IRQ with 470 ohms pulldown, 30 pF capacitance; all other outputs except X2 and LFT load capacitance = 30 pF. All timings refer to tCK, which is the internal master clock period. The internal master clock frequency is 4 times the frequency at pin X1; therefore, tCK = tXTAL/4. The sampling rate is given by 1/(tCK * 1024). The maximum crystal frequency/clock frequency at X1 is 12.288 MHz (48 kHz sampling rate). Figure 3. Host Interface Read Cycle
PC_A[2:0]
tAVCS
PC Host Interface
PC_CS
tCSLRDL tPRD tRDHCSB
PC_RD
tRDLIORL tPIOR
PC_ READY
tCSLIOCS tIORHDV tRDLDV tRDH tCSHIOCS
PC_IO16
PC_D[15:0]
Note:
PC_D[15:8] valid only if PC_A[2:1] = 10.
Figure 4. Host Interface Write Cycle
PC_A[2:0]
tAVCS
PC_CS
tCSLWRL tPWR tWRHCSB
PC_WR
tWRLIORL tPIOR
PC_ READY
tCSLIOCS tIORHWRH tCSHIOCS
PC_IO16
tDWS tDWB
PC_D[15:0]
Note:
PC_D[15:8] valid only if PC_A[2:1] = 10.
11
1772D-DRMSD-01/04
. Table 10. PC Host Interface Timing Parameters
Symbol tAVCS tCSLDRL tRDHCSH tPRD tRDLDV tDRH tRDLIORL tPIRO tIORHDV tCSLIOCS tCSHIOCS tCSLWRL tWRHCSH tPWR tWRLIORL tIORHWRH tDWS tDWH Notes: Parameter Address valid to chip select low Chip select low to PC_RD low PC_RD high to PC_CS high PC_RD pulse width Data out valid from PC_RD Data out hold from PC_RD PC_READY low from PC_RD PC_READY pulse width (2) PC_READY rising to data out valid (2) PC_IO16 low from PC_CS low
(3) (3) (2) (1)
Min 0 5 5 50
Typ
Max
Unit ns ns ns ns
20 5 0 10 10 128 0 0 0 5 5 50
(2)
ns ns ns tck ns ns ns ns ns ns
20 20
PC_IO16 high from PC_CS high PC_CS low to PC_WR low PC_WR high to PC_CS high PC_WR pulse width
PC_READY low from PC_WR low
0 5 10 0
10
ns ns ns ns
PC_READY high to PC_WR high (2) Write data setup time Write data hold time
1. When data is already loaded into internal ATSAM9708 output register. In this case PC_READY stays high during the read cycle. 2. PC_READY goes into low only if the data is not ready to be loaded into/read from internal ATSAM9708 register. 128 tck corresponds to a single worst-case situation. At fCK = 12.288 MHz, PC_READY is likely to never go low when using standard ISA bus timing. 3. PC_IO16 is asserted low by ATSAM9708 if A2A1 = 10 to indicate fast 16-bit ISA bus transfer to the PC.
12
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
External Memory Timing
External Memory Overview
The following memories can be connected to the ATSAM9708: * * * * ROM or Flash memories, 16 bits wide Static RAMs, 8 bits or 16 bits wide DRAMs, 16 bits wide SDRAMs, 16 bits wide
DRAMs and SDRAMs cannot be connected at the same time. The type of dynamic RAM connection is determined at power-up by sensing the level of pins RAS and CAS (see Table 4 on page 4 and "Memory Type Configuration and Boot Configuration" on page 26). Eight-bit wide static RAM can be connected using the additional Ram Byte Select (RBS) address signal. RBS allows access to two bytes of SRAM within one regular memory cycle, thereby providing 16 bits of data. Eight-bit wide SRAM can be connected only under control of WCS1. The selection 8 bits/16 bits is done by firmware. ROM and static RAMs use linear addressing (address lines WA0 to WA26). DRAM and SDRAMs use time-multiplexed addressing with a ROW/COL scheme (address lines DRA0 to DRA11). Additionally, SDRAMs use the DRA0/DRA11 lines for configuration and the DRA10 line for auto precharge. ROM/SRAMs and DRAM/SDRAM address line share the same pins of the ATSAM9708. The timing is determined by the input signal DRAM. If DRAM is high at the beginning of a memory cycle, this indicates DRAM/SDRAM access. If only one type of memory is connected (i.e., SDRAM), then the DRAM signal can be hardwired. Otherwise, it should be derived from an external decoding of high-order address lines.
13
1772D-DRMSD-01/04
External Memory Timing Overview
One memory cycle consists of six internal master clock cycles (6 x tCK). The internal master clock period is one-fourth of the clock period at X1. The internal master clock is provided at pin CK_OUT when external SDRAM is connected (RAS sensed high during RESET). Basic notes on SDRAM timing: * * * * * RESET should be held low at least 100 s (SDRAM timing requirement on idle cycles) SDRAM mode is fixed to sequential, burst length = 1, CAS latency 2, standard operation, programmed write burst length. SDRAM cycles for read: NOP - ACTIVE - NOP - READ AUTO PRECHARGE - NOP - NOP. SDRAM cycles for write: NOP - ACTIVE - NOP - WRITE AUTO PRECHARGE NOP - NOP SDRAM cycles for refresh: NOP - AUTO REFRESH - NOP - NOP - NOP - NOP
Figure 5. ROM and SRAM Basic Timing, DRAM = Low
0 CK_OUT 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1
WA[26:0]
WOE
WWE
RBS
WD[15:0]
ROM/SRAM16 READ
SRAM16 WRITE
SRAM8 WRITE
14
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Figure 6. DRAM Basic Timing, DRAM = High
0 CK_OUT
(1)
1
2
3
4
5
0
1
2
3
4
5
0
1
2
3
4
5
0
1
DRAxx
row
col
RAS
CAS
WWE
REFRESH
WD[15:0]
DRAM READ
DRAM WRITE
DRAM REFRESH
Note:
1. See Table 11 on page 16.
Figure 7. SDRAM Basic Timing, DRAM = High
0 CK_OUT
(1)
1
2
3
4
5
0
1
2
3
4
5
0
1
2
3
4
5
0
1
DRAxx
row
col
RAS CAS
WWE
REFRESH
WD[15:0]
SDRAM READ
SDRAM WRITE
SDRAM AUTO REFRESH
Note:
1. See Table 11 on page 16.
15
1772D-DRMSD-01/04
Figure 8. SDRAM Init Sequence, DRAM = High
0 CK_OUT
(1)
1
2
3
4
5
0
1
2
3
4
5
0
1
2
3
4
5
0
1
DRAxx
row
col
RAS
CAS
WWE
REFRESH
PRECHARGE A10 = 1
AUTO REFRESH (TWO CYCLES)
LOAD MODE REG DRA = 020H
Note:
1. See Table 11 below.
Table 11. RAS/CAS Correspondence to Physical Address(1)
Signal WA0/DRA0 WA1/DRA1 WA2/DRA2 WA3/DRA3 WA4/DRA4 WA5/DRA5 WA6/DRA6 WA7/DRA7 WA8/DRA8 WA18/DRA9 WA20/DRA10 WA22/DRA11 Note: Valid for DRAM and SDRAM unless otherwise stated. Value at RAS Time WA0 WA1 WA2 WA3 WA4 WA5 WA6 WA7 WA8 WA18 WA20 WA22 Value at CAS Time WA9 WA10 WA11 WA12 WA13 WA14 WA15 WA16 WA17 WA19 (DRAM) Don't care (SDRAM) WA21 (DRAM) High (SDRAM) WA23 (DRAM) Don't care (SDRAM)
16
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Detailed External DRAM Timing
Figure 9. Read Cycle
tRC tRAS RAS tRCD CAS tASR D[11:0] (1) tRAH tASC tCAH tCAS tCRP tRP
WOE tCAC tRAC WD[15:0] tOFF
Note:
1. See Table 11 on page 16.
Figure 10. Write Cycle (Early Write)
tRC
tRAS RAS tRCD CAS tASR
(1)
tRP
tCAS
tCRP
tRAH
tASC
tCAH
DRA[11:0] tWCS WWE tDS WD[15:0] tDH tWCH
Note:
1. See Table 11 on page 16.
17
1772D-DRMSD-01/04
Figure 11. Refresh Cycle (RAS Only)
tRC tRAS RAS tASR
(1)
tRP
tRAH
DRA[11:0]
counter
Note:
1. See Table 11 on page 16.
Table 12. External DRAM Timing Parameters
Symbol tRC tRAC tCAC tOFF tRP tRAS tCAS tRCD tCRP tASR tRAH tASC tCAH tWCS tWCH tDS tDH Parameter Read/Write/Refresh cycle Access time from RAS Access time from CAS CAS high to output Hi-Z RAS precharge time RAS pulse width CAS pulse width RAS to CAS delay time CAS to RAS precharge time Row address setup time Row address hold time Column address setup time Column address hold time Write command set-up time Write command hold time Write data set-up time Write data hold time Refresh counter average period (12-bit counter) 2 x tCK - 5 tCK - 5 tCK - 5 tCK - 5 3 x tCK - 5 2 x tCK 3 x tCK 2 x tCK 3 x tCK 512 x tCK 2 x tCK 4 x tCK - 5 3 x tCK - 5 2 x tCK Min Typ 6 x tCK 5 x tCK - 5 3 x tCK - 5 2 x tCK - 5 Max Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
The following points should be noted: * The multiplexed CAS, RAS addressing can support memory DRAM chips up to 16 Mbits x N as long as the number of row address lines and column address lines are identical. For example, device type 416C1200 is supported because it is a 1M x 16 organization with 10-bit row and 10-bit column. Device type 416C1000 is not supported because it is a 1M x 16 organization with 12-bit row and 8-bit column. The signal WOE is normally not used for DRAM connection. It is represented only for reference purposes.
*
18
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
* As RAS only counter refresh method is employed, several banks of DRAMs can be connected using simple external CAS decoding. Linear address lines (WAx) can be used to select between DRAM banks. For example, a 1M x 32 SIMM module may be connected as two 1M x 16 banks, with CAS0 and CAS1 selections issued from CAS and WA20. During a whole DRAM cycle (from RAS low to CAS rising), WCS0 is asserted low. The equivalence between multiplexed DRAM address lines (DRA0 to DRA11) and the corresponding linear addressing (WA0 to WA23) is as follows:
DRA11 RAS time CAS time WA22 WA23 DRA10 WA20 WA21 DRA9 WA18 WA19 DRA8 WA8 WA17 DRA7 WA7 WA16 DRA6 WA6 WA15 DRA5 WA5 WA14 DRA4 WA4 WA13 DRA3 WA3 WA12 DRA2 WA2 WA11 DRA1 WA1 WA10 DRA0 WA0 WA9
* *
*
To save DRAM power consumption, CAS and RAS are cycled only when necessary. Therefore, depending on firmware loaded, total board power consumption may increase with synthesis processing traffic.
Detailed External ROM Timing
Figure 12. ROM Read Cycle
tRC WCS0 tAOE WA[26:0] tPOE WOE tOE WD[15:0] tAD tDF
Table 13. External ROM Timing Parameters
Symbol tRC tAOE tPOE tAD tOE tDF Parameter Read cycle time Address valid to WOE low Output enable pulse width Address access time Output enable access time Chip select or WOE high to input data High Z 6 x tCK - 5 5 x tCK - 5 0 tCK - 5 Min Typ 6 x tCK tCK 5 x tck Max Unit ns ns ns ns ns ns
19
1772D-DRMSD-01/04
External RAM Timing
Figure 13. 16-bit SRAM Read Cycle
tRC WCS1 tAOE WA[26:0] tPOE WOE
WWE
tOE
tDF
WD[15:0] tAD
Figure 14. 16-bit SRAM Write Cycle
tWC
WCS1 tCSWE WA[26:0] tOEWE WOE tWP WWE tDW WD[15:0] tDH
Table 14. External 16-bit SRAM Timing Parameters
Symbol tRC tAOE tPOE tAD tOE tDF Parameter Read cycle time Address valid to WOE low Output enable pulse width Address access time Output enable access time Chip select or WOE high to input data High Z 6 x tCK - 5 5 x tCK - 5 0 tCK - 5 Min Typ 6 x tCK tCK 5 x tCK Max Unit ns ns ns ns ns ns
20
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Table 14. External 16-bit SRAM Timing Parameters (Continued)
Symbol tWC tCSWE tOEWE tWP tDW tDH Parameter Write cycle time Write enable low from CS Write enable low from Address or WOE Write pulse-width Data out setup time Data out hold time 3.5 x tCK - 10 0.5 x tCK tCK - 10 2tCK - 10 3.5 x tCK Min Typ 6 x tCK Max Unit ns ns ns ns ns ns
Figure 15. 8-bit SRAM Read Cycle
tRC WCS1 tCSOE WA[26:0] tPOE WOE
WWE tACE
tORB
RBS
tOE WD[7:0]
tACH
LOW
tDF
HIGH
21
1772D-DRMSD-01/04
Figure 16. 8-bit SRAM Write Cycle
tWC WCS1 tCSWE WA[26:0]
WOE tWP WWE tAS RBS tDW1 tDH1 WD[7:0]
LOW
tWP
tDW2
HIGH
tDH2
Table 15. External 8-bit SRAM Timing Parameters
Symbol tRC tCSOE tPOE tACE tOE tORB tACH tDF tWC tCSWE tWP tDW1 tDH1 tAS tDW2 tDH2 Parameter Word (2 x bytes) read cycle time Chip select low/address valid to WOE low Output enable pulse width Chip select/address low byte access time Output enable low byte access time Output enable low to byte select high Byte select high byte access time Chip select or WOE high to input data High Z Word (2 x bytes) write cycle time 1st WWE low from CS or Address or WOE Write (low and high byte) pulse width Data out low byte setup time Data out low byte hold time RBS high to second write pulse Data out high byte setup time Data out high byte hold time 1.5 x tCK - 10 10 tCK - 5 2.5 x tCK - 10 10 tck - 10 1.5 x tCK 3 x tCK - 5 0 6 x tCK tCK - 5 3 x tCK - 5 2 x tCK - 5 2 x tCK Min Typ 6 x tCK tCK 5 x tCK Max Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
22
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Digital Audio Timing
Figure 17. Digital Audio Timing Diagram
tCW WS_OUT tCW tCLBD
BCK_OUT tSOD SD_IN[7:0] SD_OUT[7:0] tSOD
Table 16. Digital Audio Timing Parameters
Symbol tCW tSOD tCLBD Parameter BCK_OUT rising to WS_OUT change SD_IN[7:0]/SD_OUT[7:0] valid prior/after BCK_OUT rising BCK_OUT cycle time Min 8 x tCK- 10 8 x tCK - 10 16 x tCK Typ Max Unit ns ns ns
Figure 18. Digital Audio Frame Format
WS_OUT (I2S)
BCK_OUT SD_IN[7:0] SD_OUT[7:0] MSB LSB (16 bits) LSB (20 bits) LSB (18 bits)
Note: SD_IN[7:0] is always 20 bits.
MSB
23
1772D-DRMSD-01/04
Audio Routing
Each PDSP can process eight digital audio inputs and generate eight digital audio outputs for a total of 16 digital audio-in and 16 digital audio-out. The eight outputs from DSP#2 can be individually routed on DSP#1 inputs. Figure 19. Audio Routing
SD_IN[7:4] PDSP#1 SD_OUT[3:0]
SD_IN[3:0]
PDSP#2
SD_OUT[7:4]
MIDI Routing
Th e de f au l t c o n fi g u r a ti o n as s i g n s MI D I1 _ IN /M I DI 1 _O UT t o P D S P # 1 a n d MIDI2_IN/MIDI2_OUT to PDSP#2. Alternatively, MIDI1_IN can be routed as the same MIDI input to both PDSPs. In this case, the MIDI2_IN is available as a general-purpose input. Also, if the MIDI2_OUT is not necessary, it can be defined as a general-purpose output.
General-purpose Input/Output Routing
GPIO GPIO_OUT[0] DSP#1 GPIO_OUT[1] DSP#1 GPIO_OUT[2] DSP#1 GPIO_OUT[3] DSP#1 GPIO_OUT[4] DSP#1 GPIO_OUT[5] DSP#1 GPIO_OUT[6] DSP#1 GPIO_OUT[7] DSP#1 GPIO_OUT[0] DSP#2 GPIO_OUT[1] DSP#2 GPIO_OUT[2] DSP#2 GPIO_OUT[3] DSP#2 GPIO_OUT[4] DSP#2 GPIO_OUT[5] DSP#2 GPIO_OUT[6] DSP#2
MIDI2_IN, MIDI2_OUT, SD_IN[7, 6, 5, 3, 2, 1, 0] and SD_OUT[7:1] pins can be individually routed as general-purpose inputs or outputs as identified in Table 17.
Table 17. General-purpose Input/Output Routing
Pin MIDI2_OUT SD_OUT[1] SD_OUT[2] SD_OUT[3] SD_IN[0] SD_IN[1] SD_IN[2] SD_IN[3] SD_OUT[4] SD_OUT[5] SD_OUT[6] SD_OUT[7] MIDI2_IN SD_IN[5] SD_IN[6]
24
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Table 17. General-purpose Input/Output Routing (Continued)
GPIO GPIO_OUT[7] DSP#2 GPIO_IN[0] DSP#1 GPIO_IN[1] DSP#1 GPIO_IN[2] DSP#1 GPIO_IN[3] DSP#1 GPIO_IN[0] DSP#2 GPIO_IN[1] DSP#2 GPIO_IN[2] DSP#2 GPIO_IN[3] DSP#2 Pin SD_IN[7] SD_IN[0] SD_IN[1] SD_IN[2] SD_IN[3] MIDI2_IN SD_IN[5] SD_IN[6] SD_IN[7]
Bi-processor Operation
Each PDSP has access to the same memory space. Sample data, buffers and programs can therefore be shared between the two PDSPs, thus minimizing memory requirements. Each P16 has the possibility to test a read-only bit that identifies the PDSP number it belongs to (PDSPID). This allows the firmware to make decisions according to the processor currently executing the code. As an example, consider implementation of a 128-voice synthesizer. An easy way to share traffic between the two PDSPs would be to have PDSP#1 process even MIDInumbered notes, while the PDSP#2 would process odd MIDI-numbered notes. In this case, there would only be a single firmware processed by both P16s, with some coding as follows:
If (PDSPID == 0 && noteeven) then ProcessNote(); If (PDSPID == 1 && noteodd) then ProcessNote();
The two PDSPs may also execute completely different firmware. In this case, as both types of firmware start from address 100H, a test on PDSPID should be done at the beginning of the program to jump to the correct firmware.
Reset and Powerdown
During power-up, the RESET input should be held low until the crystal oscillator and PLL are stabilized. This may take about 20 ms. The RESET signal is normally derived from the PC master reset. However, a typical RC/diode power-up network can also be used for some applications. After the low-to-high transition of RESET, the following occurs: * If REFRESH is sampled high at the low to high transition of RESET then the external SDRAM init cycles are executed (see "Memory Type Configuration and Boot Configuration" on page 26). Both Synthesis/DSP enter an idle state. If REFRESH is low, then both P16 program execution starts from address 0100H in ROM space (WCS0 low). If REFRESH is high, then both P16 program execution starts from address 0000H in internal bootstrap ROM space. Each internal bootstrap expects to receive 256 words from its respective 16-bit burst transfer port, which will be stored from 0100H
* * *
25
1772D-DRMSD-01/04
to 01FFH into the external DRAM space. The bootstrap then resumes control at address 0100H. * If PDWN is asserted low, then all I/Os and outputs will be floated and the crystal oscillator and PLL will be stopped. The chip enters a deep power-down sleep mode. To exit power down, PDWN has to be asserted high, then RESET applied.
Memory Type Configuration and Boot Configuration
At the end of power-up, when RESET input goes from low to high, RAS, CAS and REFRESH pins are sampled by the ATSAM9708 to determine memory type configuration and boot type. RAS, CAS and REFRESH must be pulled to VCC or GND through an external 10K resistor to select these different power-up configurations. One memory type can be used for low pages (addresses [0-8000000h], AD[27] = 0) and a different type for high pages (addresses [8000000h-10000000h]). Memory types allowed are Flash/ROM, SRAM, DRAM or SDRAM. When using RAM (SRAM, DRAM or SDRAM) in low page, P16 must start in bootstrap state. When in bootstrap state, P16 program execution starts at address 0. If not in bootstrap, program execution starts at address 100h. Bootstrap is selected via the REFRESH pin.
Table 18. Memory Type and Boot Configuration
Pin Level Detected at Reset REFRESH RAS Stand-alone Mode Low Low Low Low Low Low High High Bootstrap Mode High High High Note: Low Low High Low High X SRAM DRAM SDRAM WCS0 RAS, CAS RAS, CAS Flash/ROM Flash/ROM Flash/ROM WCS1 WCS1 WCS1 Low High Low High CAS Memory Type Flash/ROM Flash/ROM Flash/ROM Flash/ROM Selected by WCS0 WCS0 WCS0 WCS0 Memory Type SRAM DRAM SDRAM Selected by WCS1 RAS, CAS RAS, CAS Low Page High Page
Selected by firmware
1. When accessing DRAM or SDRAM, DRAM/SDRAM is selected by signals RAS and CAS (WCS0 and WCS1 are inactive) and addresses are time-multiplexed on WA[..] pins as follows: * WA0 - WA8: DRA0 - DRA8 * WA18: DRA9 * WA20: DRA10 * WA22: DRA11 When accessing SRAM, Flash or ROM, SRAM/Flash/ROM are selected by signals WCS0, WCS1 (RAS and CAS are inactive) and WA[26:0] address pins: * if low pages: WCS0 = 0, WCS1 = 1 * if high pages: WCS0 = 1, WCS1 = 0
26
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Recommended Board Layout
GND, VCC, VC3 Distribution, Decouplings
Like all HCMOS high-integration ICs, some rules of board layout should be followed for reliable device operation: All GND, VCC, VC3 pins should be connected. GND and VCC planes are strongly recommended below the ATSAM9708. The board GND and VCC distribution should be in grid form. If 3.3V is not available, then VC3 can be connected to VCC by two 1N4148 diodes in series. Recommended decoupling is 0.1 F at each corner of the IC with an additional 10 F decoupling close to the crystal. VC3 requires a single 0.1F decoupling close to the IC.
Crystal, LFT
The paths between the crystal, the crystal compensation capacitors, the LFT filter R-CR and the ATSAM9708 should be short and shielded. The ground return from the compensation capacitors and LFT filter should be the GND plane from ATSAM9708. Parallel layout from PC_D[15:0] and DRA[11:0]/WD[15:0] should be avoided. The PC_D[15:0] bus is an asynchronous high-transient current-type bus. Even on short distances, it can induce pulses on DRA[11:0]/WD[15:0] which can corrupt addresses and/or data on these buses. A ground plane should be implemented below the PC_D[15:0] bus, which connects both to the PC-ISA connector and to the ATSAM9708 GND. A ground plane should be implemented below the DRA[11:0]/WD[15:0] bus, which connects both to the DRAM SIMM grounds and to the ATSAM9708.
Buses
Analog Section
A specific AGND ground plane should be provided, which connects to the GND ground by a single trace. No digital signals should cross the AGND plane. Refer to the Codec vendor recommended layout for correct implementation of the analog section.
27
1772D-DRMSD-01/04
Recommended Crystal Compensation and LFT Filter
Figure 20. Recommended Crystal Compensation and LFT Filter
134 61 X1 62 60
C4 22 pF C1 22 pF C2 2.2 nF C3 10 nF R1 137 100
RESET X1 X2 LFT PDWN
28
ATSAM9708
1772D-DRMSD-01/04
ATSAM9708
Mechanical Dimensions
Figure 21. 144-lead TQFP Package Drawing
Table 19. 144-lead TQFP Package Dimensions (in millimeters)
Min A A1 A2 D D1 E E1 L P B 0.17 1.40 0.05 1.35 21.90 19.90 21.90 19.90 0.45 Nom 1.50 0.10 1.40 22.00 20.00 22.00 20.00 0.60 0.50 0.22 0.27 Max 1.60 0.15 1.45 22.10 20.10 22.10 20.10 0.75
29
1772D-DRMSD-01/04
Atmel Corporation
2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600
Atmel Operations
Memory
2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314
RF/Automotive
Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300 Fax: 1(719) 540-1759
Regional Headquarters
Europe
Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500
Microcontrollers
2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France Tel: (33) 2-40-18-18-18 Fax: (33) 2-40-18-19-60
Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom
Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France Tel: (33) 4-76-58-30-00 Fax: (33) 4-76-58-34-80
Asia
Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369
ASIC/ASSP/Smart Cards
Zone Industrielle 13106 Rousset Cedex, France Tel: (33) 4-42-53-60-00 Fax: (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel: (44) 1355-803-000 Fax: (44) 1355-242-743
Japan
9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581
Literature Requests
www.atmel.com/literature
Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company's standard warranty which is detailed in Atmel's Terms and Conditions located on the Company's web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel's products are not authorized for use as critical components in life support devices or systems.
(c) Atmel Corporation 2004. All rights reserved. Atmel(R) and combinations thereof, and Dream (R) are the registered trademarks of Atmel Corporation or its subsidiaries. Roland (R), GS (R) and the GS logo are the registered trademarks of the Roland Company. General MIDI logo is under licence of Midi Manufacturers Association. Other terms and product names may be the trademarks of others.
Printed on recycled paper.
1772D-DRMSD-01/04


▲Up To Search▲   

 
Price & Availability of ATSAM9708

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X